package com.temp;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Food {
    @Value("naike")
    String brand;
    @Value("200")
    String price;

    @Override
    public String toString() {
        return "Food{" +
                "brand='" + brand + '\'' +
                ", price='" + price + '\'' +
                '}';
    }
}
